package MCQReaderModel;

import java.awt.Rectangle;

public class TextZone extends Zone {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int number;

	public TextZone() {
		this(null, 0);
	}

	public TextZone(Rectangle selection, int number) {
		this.rectangle = selection;
		this.setNumber(number);
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public int getNumber() {
		return number;
	}

	public String toString() {
		return "<Zone de texte " + number + " Position: " + rectangle + ">";
	}

}
